package API;

import java.util.Random;

public class Example1 {
    public static void main(String[] args) {
        String y = "0123456789";
        String s = "";

        Random x = new Random();
        for (int i = 0; i < 6; i++) {
            int index = x.nextInt(y.length());
            s += index;
        }
        System.out.println(s);
    }
}
